<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <link rel="stylesheet" type="text/css" href="css/cube-min.css">
    <link rel="stylesheet" type="text/css" href="css/main.css">
    <script type="text/javascript" src="js/jquery-1.11.1.min.js"></script>
    <script type="text/javascript" src="js/function.js"></script>
</head>
<script type="text/javascript">
    $(document).ready(function(){
        $(".pop_box").css("height",$(window).height());
        $(".button1").click(function(){
            window.parent.$.popShow("test.html");
        });
        $(".button2").click(function(){
            $.tipShow(1,"xxxxxx")
        });
        $(".button3").click(function(){
            $.confirmShow("xxxxxxx",function(){
                alert(11)
            })
        });
    })
</script>
<body>
<button class="button1">弹出层</button>
<button class="button2">弱提示</button>
<button class="button3">强提示</button>
</body>
</html>